@charset "UTF-8";
@import url('displaFlex');





@safeWidth:1100px;        //安全宽度

@safeMainColor:#01cbe9;       //主题颜色
@safeMinorColor:#ff6f6e;       //主题颜色

@borderColor:#dcdcdc;     //边框颜色
@25mainWordColor:#252525;   //文字主体颜色
@4aviceWordColor:#4a4a4a;   //文字副级颜色
@99minorWordColor:#999999;  //文字次要颜色


.w_h(@w_h){
  width: @w_h ;
  height: @w_h ;
}

//文字溢出
//多行
.wordSpaceClamp(@number){
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:@number;
  overflow: hidden;
}
//单行
.wordSpaceClamp{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.hover(@color){
  &:hover{
    background-color: @color;
    color: #FFFFFF;
    text-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
    transition: all 1s cubic-bezier(0, 0.72, 0.35, 1.12);
  }
}




nav{
  border-bottom: 1px solid @borderColor;
}

//面包屑导航
.nav{
  width: @safeWidth;
  margin:20px auto;
  a{
    font-size: 16px;
    color: #4a4a4a;
  }
  :nth-child(1){
    padding-right: 15px;
    background: url("../publicImg/jiantou-you-hui@2x.png") no-repeat right;
    background-size: 6px 11px;
    margin-right: 10px;
  }
}


main{
  width: @safeWidth;
  margin: 0 auto;

  .navList{
    .displayFlex;
    .flex-direction-row;
    .flex-justify-between;

    .leftBox{
      .UserCenterInfo{
        .displayFlex;
        .flex-direction-column;
        margin-bottom: 20px;
        width:310px;
        height: 352px;
        border-radius: 6px;
        border:1px solid @borderColor;
        background-color: #f6f6f6;
        .flex-align-items;
        .userName{
          font-size: 20px;
          color:@safeMainColor;
          margin-top: 30px;
          margin-bottom: 20px;

        }
        .userImg{
          .w_h(130px);
          border-radius: 50%;
          margin-bottom: 30px;
        }
        .userPostCommentFans{
          .displayFlex;
          .flex-direction-row;
          margin-bottom: 50px;
          div{
            .displayFlex;
            .flex-direction-column;
            .flex-align-items;
            height: 38px;
            width:105px;
            span{
              font-size: 14px;
              color:@25mainWordColor;
              line-height: 19px;
            }

          }
          .commentNumber{
            border-right: 1px solid @borderColor;
            border-left: 1px solid @borderColor;
          }
        }
        .rank{
          font-size: 14px;
          color: @99minorWordColor;
          padding-right: 30px;
          margin-bottom: 30px;

        }
        .focusOn{
          width: 120px;
          height: 44px;
          background-color: @safeMinorColor;
          color:white;
          border-radius: 6px;

        }
        .focusOff{
          background-color: @99minorWordColor;

        }

      }

      .hotLoanInnerRightBox{

        border:1px solid @borderColor;
        border-radius: 6px;
        display: block;
        width: 310-20px;
        padding:0 10px;
        .toHotLoans{
          display: block;
          height: 53px;
          width: 100%;
          font-size: 24px;
          line-height: 53px;
          text-align: left;
          background: white url("../publicImg/jiantou-you-lan@2x.png") no-repeat right;
          background-size: 10px 17px;
          border-bottom: 1px solid #eeeeee;
          color: @25mainWordColor;
          margin-bottom: 30px;

        }
        .postItem{
          margin-bottom: 40px;
          .displayFlex;
          .flex-direction-row;
          img{
            width: 70px;
            height: 70px;
            border-radius: 6px;
            margin-right: 16px;
          }
          .postItemText{
            h4{
              font-size: 18px;
              width: 200px;
              color: @25mainWordColor;
              font-weight: normal;
              .wordSpaceClamp(2);
              letter-spacing: -1px;
            }
            .thumbsUpAndPageView{
              span{
                font-size: 14px;
                color:@99minorWordColor;
                padding-left:25px;
              }
              .thumbsUp{
                background: url("../publicImg/shequ-dianzan@2x.png") no-repeat left;
                background-size: 16px 16px;
                margin-right: 30px;

              }
              .pageView{
                background: url("../publicImg/shequ-liulan@2x.png") no-repeat left;
                background-size: 16px 16px;
              }
            }
          }

        }
        a:last-child{
          margin-bottom: 0px;
        }

      }



    }
    .rightBox{
      width:760px;
      .rightTitle{
       .displayFlex;
        .flex-direction-row;
        .flex-align-items;
        margin-bottom:30px;
        p{
          font-size:18px ;
          height: 24px;
          line-height: 24px;
          color:@4aviceWordColor;
          padding-left: 7px;
          border-left: 3px solid @safeMinorColor;

        }

      }



      //**********
      //**********
      //***********帖子样式

      .userPostList{
        width: 100%;
        .groupListItem{

          .displayFlex;
          .flex-direction-column;
          border:1px solid @borderColor;
          padding: 24px 24px 24px 24px;
          border-radius: 6px;
          cursor: pointer;
          margin-bottom: 20px;


          //用户信息
          .authorInfo{
            .displayFlex;
            .flex-direction-row;
            margin-bottom: 10px;
            .info{
              .displayFlex;
              .flex-direction-row;
              img{
                display: block;
                .w_h(36px);
                margin-right: 20px;
                border-radius: 6px;
              }
              .infoText{
                .displayFlex;
                .flex-direction-row;
                .text{
                  .userName{
                    font-size: 16px;
                    color: @25mainWordColor;
                  }
                  time{
                    font-size: 12px;
                    color: @99minorWordColor;
                  }

                }
              }
            }

          }
          time{
            font-size: 12px;
            color: @99minorWordColor;
            margin-bottom: 15px;
          }
          //帖子内容
          .postContent{
            .postTitle{
              font-size: 18px;
              color: @25mainWordColor;
              margin-bottom: 10px;

            }
            .userText{
              font-size: 16px ;
              color: @4aviceWordColor;
              display: inline;

            }
            .adminText{
              .displayFlex;
              .flex-direction-row;
              img{
                width: 218px;
                height: 144px;
                border-radius: 6px;
                margin-right: 12px;
              }
              p{
                width: 480px;

              }

            }
            a{
              font-size: 14px;
              color: @safeMinorColor;
              padding-right: 7px;
              background: url("../publicImg/jiantou-you-hong@2x.png") no-repeat right;
              background-size: 6px 12px;
              display: inline;
            }


          }
          //用户图片
          .postImg{

            width: 635px;
            margin-top: 20px;
            .imgList{
              .displayFlex;
              .flex-direction-row;
              li{
                margin-right: 10px;
                position: relative;
                overflow: hidden;
                .w_h(140px);
                border-radius: 6px;

                img{

                  position: absolute;
                  left: 50%;
                  top: 50%;
                  -webkit-transform: translate(-50%, -50%);
                  -moz-transform: translate(-50%, -50%);
                  -ms-transform: translate(-50%, -50%);
                  -o-transform: translate(-50%, -50%);
                  transform: translate(-50%, -50%);

                }
              }
            }


          }

          //帖子交互信息
          .postInfo{
            .displayFlex;
            .flex-direction-row;
            margin-top: 20px;
            position: relative;
            span{
              padding-left:20px ;
              color: @99minorWordColor;
              font-size: 14px;
              margin-right: 16px;
            }
            span:nth-child(1){
              background: url("../publicImg/shequ-dianzan-pre@2x.png") no-repeat left;
              background-size: 16px 16px;
            }
            span:nth-child(2){
              background: url("../publicImg/shequ-liulan@2x.png") no-repeat left;
              background-size: 16px 16px;
            }
            span:nth-child(3){
              background: url("../publicImg/shequ-pinglun@2x.png") no-repeat left;
              background-size: 16px 16px;
            }

            .groupName{
              font-size: 14px;
              color: @safeMinorColor;
              margin-bottom: 30px;
              position: absolute;
              top: 0;
              right: 0;
            }

          }



        }

      }



    }
  }

}











































